package com.neusoft.neuiotms.dcom.repository.change;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.change.ChangePlanAttachment;

public interface ChangePlanAttachmentRepository extends JpaRepository<ChangePlanAttachment, Long> {

    List<ChangePlanAttachment> findByFsId(String fsId);

    List<ChangePlanAttachment> findByFsIdIn(List<String> fsIds);

    List<ChangePlanAttachment> findByChangePlanId(Long id);

    void deleteByFsId(String fsId);
}
